import sys from "@router/sys/index";
import moudules from "@router/moudules/index";
/**
 * 路由表
 */

export const AppRoutes = [
  {
    name: 'sys/login',
    path: '/login',
    meta: { title: '登陆', icon: '' ,keepalive : true},
    component: () => import('@views/sys/login/index.vue')
  },
  {
    name: '/',
    path: '/',
    meta: { title: '主页', icon: '' ,keepalive : true},
    component: () => import('@views/index.vue'),
    children: [
      ...sys,
      ...moudules,
    ]
  },
]
